package com.kun.hosp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author zhoukun
 * @Date 2021/3/17 20:20
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.kun"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.kun.hosp.feign")
public class HospApplication {
    public static void main(String[] args) {
        SpringApplication.run(HospApplication.class,args);
    }
}
